Optimal. Leaf size=44 \[ \frac {a x^4}{4}+\frac {b \sin \left (c+d x^2\right )}{2 d^2}-\frac {b x^2 \cos \left (c+d x^2\right )}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {14, 3379, 3296, 2637} \[ \frac {a x^4}{4}+\frac {b \sin \left (c+d x^2\right )}{2 d^2}-\frac {b x^2 \cos \left (c+d x^2\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2637
Rule 3296
Rule 3379
Rubi steps
\begin {align*} \int x^3 \left (a+b \sin \left (c+d x^2\right )\right ) \, dx &=\int \left (a x^3+b x^3 \sin \left (c+d x^2\right )\right ) \, dx\\ &=\frac {a x^4}{4}+b \int x^3 \sin \left (c+d x^2\right ) \, dx\\ &=\frac {a x^4}{4}+\frac {1}{2} b \operatorname {Subst}\left (\int x \sin (c+d x) \, dx,x,x^2\right )\\ &=\frac {a x^4}{4}-\frac {b x^2 \cos \left (c+d x^2\right )}{2 d}+\frac {b \operatorname {Subst}\left (\int \cos (c+d x) \, dx,x,x^2\right )}{2 d}\\ &=\frac {a x^4}{4}-\frac {b x^2 \cos \left (c+d x^2\right )}{2 d}+\frac {b \sin \left (c+d x^2\right )}{2 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 44, normalized size = 1.00 \[ \frac {a x^4}{4}+\frac {b \sin \left (c+d x^2\right )}{2 d^2}-\frac {b x^2 \cos \left (c+d x^2\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 40, normalized size = 0.91 \[ \frac {a d^{2} x^{4} - 2 \, b d x^{2} \cos \left (d x^{2} + c\right ) + 2 \, b \sin \left (d x^{2} + c\right )}{4 \, d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.42, size = 61, normalized size = 1.39 \[ \frac {\frac {{\left ({\left (d x^{2} + c\right )}^{2} - 2 \, {\left (d x^{2} + c\right )} c\right )} a}{d} - \frac {2 \, {\left (d x^{2} \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right )} b}{d}}{4 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 40, normalized size = 0.91 \[ \frac {a \,x^{4}}{4}+b \left (-\frac {x^{2} \cos \left (d \,x^{2}+c \right )}{2 d}+\frac {\sin \left (d \,x^{2}+c \right )}{2 d^{2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.89, size = 37, normalized size = 0.84 \[ \frac {1}{4} \, a x^{4} - \frac {{\left (d x^{2} \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right )} b}{2 \, d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.09, size = 38, normalized size = 0.86 \[ \frac {a\,x^4}{4}+\frac {\frac {b\,\sin \left (d\,x^2+c\right )}{2}-\frac {b\,d\,x^2\,\cos \left (d\,x^2+c\right )}{2}}{d^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.05, size = 49, normalized size = 1.11 \[ \begin {cases} \frac {a x^{4}}{4} - \frac {b x^{2} \cos {\left (c + d x^{2} \right )}}{2 d} + \frac {b \sin {\left (c + d x^{2} \right )}}{2 d^{2}} & \text {for}\: d \neq 0 \\\frac {x^{4} \left (a + b \sin {\relax (c )}\right )}{4} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________